package sk.naive.talker.command;

import sk.naive.talker.User;

/**
 * CommandParameters.
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.1 $ $Date: 2004/10/07 20:10:34 $
 */
public class CommandParameters {
	private CommandDispatcher commandDispatcher;
	private String command;
	private User user;
	private String params;

	public CommandParameters(CommandDispatcher commandDispatcher, String command, User user, String params) {
		this.commandDispatcher = commandDispatcher;
		this.command = command;
		this.user = user;
		this.params = params;
	}

	public CommandDispatcher getCommandDispatcher() {
		return commandDispatcher;
	}

	public String getCommand() {
		return command;
	}

	public User getUser() {
		return user;
	}

	public String getParams() {
		return params;
	}
}
